import React from "react";
interface IndexProps {
  name: string;
  images: string;
}
const index: React.FC<IndexProps> = ({ name, images }) => {
  return (
    <div style={{ width: 220, height: 333, marginRight: 30 }}>
      <div
        style={{
          width: 220,
          height: 291,
          textAlign: "center",
          borderRadius: 10,
          background: "#F5F5F5",
        }}
      >
        <img
          style={{ width: 137, height: 250, marginTop: 20, borderRadius: 10 }}
          src={images}
          alt=""
        />
      </div>
      <div style={{ marginLeft: 10, lineHeight: "40px", fontSize: 14 }}>
        {name}
      </div>
    </div>
  );
};

export default index;
